package com.mypg;

public class UserQuestion {
    private int question_id;
    private int user_id;
    private String user_nickname;
    private int flag_pass;
    private int flag_collect;

    public UserQuestion(){}
    public UserQuestion(int question_id, int user_id, String user_nickname, int flag_pass, int flag_collect) {
        this.question_id = question_id;
        this.user_id = user_id;
        this.user_nickname = user_nickname;
        this.flag_pass = flag_pass;
        this.flag_collect = flag_collect;
    }

    public int getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(int question_id) {
        this.question_id = question_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_nickname() {
        return user_nickname;
    }

    public void setUser_nickname(String user_nickname) {
        this.user_nickname = user_nickname;
    }

    public int getFlag_pass() {
        return flag_pass;
    }

    public void setFlag_pass(int flag_pass) {
        this.flag_pass = flag_pass;
    }

    public int getFlag_collect() {
        return flag_collect;
    }

    public void setFlag_collect(int flag_collect) {
        this.flag_collect = flag_collect;
    }

    @Override
    public String toString() {
        return "UserQuestion{" +
                "question_id=" + question_id +
                ", user_id=" + user_id +
                ", user_nickname='" + user_nickname + '\'' +
                ", flag_pass=" + flag_pass +
                ", flag_collect=" + flag_collect +
                '}';
    }
}
